package org.yoki.edu.portal.core.portal.exception;

import com.yunzhitx.cloud.common.model.exception.rest.RestStatus;

/**
 * portal错误代码：200000--299999
 * Created by SunnyWen on 2017/10/19.
 */
public enum PortalRestStatus implements RestStatus {

    phoneNumberErrorStatus(200000, "参数为空！");

    private Integer code;
    private String message;

    @Override
    public int code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }

    PortalRestStatus(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
